from datetime import datetime

# 获取当前时间
now = datetime.now()
now_str = now.strftime("%Y%m%d_%H%M%S")


# 输出当前时间
print("当前时间：", now)